package com.hskn.hss.constant;

public class CommonConstant {

    public static final Integer SC_OK_200 = 200;
    public static final Integer SC_NG_400 = 400;
    public static final String SC_OK_MSG = "操作成功";
    public static final String SC_NG_MSG = "操作失败";

    public static final String ACCESS_KEY_ID = "LTAI4GDQfch1eg6rscj5cQD9";
    public static final String ACCESS_KEY_SECRET = "cFMZ1F0Q8XARFoygb7AC1tO299fvbb";

    /** 权限表 **/
    // 个人
    public static final String SYS_PERMISSION_SELF = "1";
    // 所属机构
    public static final String SYS_PERMISSION_DEPT = "2";
    // 所属机构及下属机构
    public static final String SYS_PERMISSION_DEPT_CASCADE = "3";
    // 自定义配置传部门ids(以逗号分割的字符串)
    public static final String SYS_PERMISSION_CUSTOM = "4";
    // 全系统
    public static final String SYS_PERMISSION_ALL = "5";

    // 用户身份1：超管，2：管理员 3：用户
    public static final Integer ROLE_SUPER_ADMINISTRATOR = 1;
    public static final Integer ROLE_ADMINISTRATOR = 2;
    public static final Integer ROLE_USER = 3;

    // 是否网格内：0否 1是
    public static final Integer IS_IN_GRID_YES = 1;
    public static final Integer IS_IN_GRID_NO = 0;

    //在岗状态：0离岗1在岗
    public static final Integer ON_GUARD_YES = 1;
    public static final Integer ON_GUARD_NO = 0;
    //作业规则和作业规则项的启用状态：1启用，0禁用
    public static final Integer ZY_ENABLE_YES = 1;
    public static final Integer ZY_ENABLE_NO = 0;

    //推送类型 1事件2报警3违规
    public static final Integer PUSH_TYPE_EVENT = 1;
    public static final Integer PUSH_TYPE_ALARM = 2;
    public static final Integer PUSH_TYPE_VIOLATION = 3;

    //报警是否启用 1启用 0禁用
    public static final String THRESHOLD_STATUS_YES = "1";
    public static final String THRESHOLD_STATUS_NO = "0";

    //设备在线状态 1离线 0在线
    public static final String EQUIP_ONLINE_YES = "0";
    public static final String EQUIP_ONLINE_NO = "1";

    //人员在线状态 0在线  1离线  2无设备
    public static final String ONLINE_STATUS_YES = "0";
    public static final String ONLINE_STATUS_NO = "1";
    public static final String ONLINE_STATUS_NONE = "2";

    //人员在岗状态 0在岗  1离岗
    public static final String ONGUARD_STATUS_YES = "0";
    public static final String ONGUARDSTATUS_NO = "1";

    //人员出勤状态 0出勤 0出勤
    public static final String ATTENDANCE_YES = "0";
    public static final String ATTENDANCE_NO = "1";

    //录像文件状态：0录制未开始1录制中2录制完成3已失效
    public static final String VIDEO_FILE_STATUS_NOT_START = "0";
    public static final String VIDEO_FILE_STATUS_RUNNING = "1";
    public static final String VIDEO_FILE_STATUS_COMPLETE = "2";
    public static final String VIDEO_FILE_STATUS_DELETE = "3";

    //录像计划状态：0不启用1启用2已删除
    public static final String VIDEO_PLAN_STATUS_DISABLE = "0";
    public static final String VIDEO_PLAN_STATUS_ENABLE = "1";
    public static final String VIDEO_PLAN_STATUS_DELETE = "2";

    //井盖报警状态：井盖异常
    public static final Integer IS_COVER_ABNORMAL_NO = 0;
    public static final Integer IS_COVER_ABNORMAL_YES = 1;
    //井盖报警状态：水位异常
    public static final Integer IS_WATER_ABNORMAL_NO = 0;
    public static final Integer IS_WATER_ABNORMAL_YES = 1;
}
